package com.hubstc.book_borrow.pojo;


import com.fasterxml.jackson.annotation.JsonIgnore;

public class Reader {
    private String readerId;//读者编号
    private String Name;//用户姓名
    @JsonIgnore
    private String password;//密码
    private String sex;//性别
    private String major;//所在专业
    private String phone;//联系方式
    private String borrowNum;//可借数量
    private int readerPer;//读者权限

    public Reader(){
    }

    public Reader(String readerId, String Name, String sex, String major, String phone, String borrowNum, int readerPer) {
        this.readerId = readerId;
        this.Name = Name;
        this.sex = sex;
        this.major = major;
        this.phone = phone;
        this.borrowNum = borrowNum;
        this.readerPer=readerPer;
    }

    public String getReaderId() {
        return readerId;
    }

    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBorrowNum() {
        return borrowNum;
    }

    public void setBorrowNum(String borrowNum) {
        this.borrowNum = borrowNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getReaderPer() {
        return readerPer;
    }

    public void setReaderPer(int readerPer) {
        this.readerPer = readerPer;
    }
}
